-
Notifications
You must be signed in to change notification settings - Fork 429
Dispatch for drawing multiples #1985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1985 +/- ##
==========================================
- Coverage 86.28% 86.26% -0.03%
==========================================
Files 146 146
Lines 8787 8847 +60
==========================================
+ Hits 7582 7632 +50
- Misses 1205 1215 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
…y - fallback to rand(d)
@devmotion thanks a lot for the review.
No docs are added |
The last item that I think about is the 10M cap for switching between algorithm. I'm thinking to proceed with a similar if/else of 0.25% of distribution. Similar (not-ideal) patterns will be easy to identify in feature and update. |
@devmotion thanks for the last comments.
|
Re-evaluated benchmarks in the header, |
Comments are resolved, this PR is ready for review |
As a general comment before any detailed review:
Can we test different number of samples? n = 10000 is a bit extreme. Can we check n = 1, n = 5, n = 10, n = 50, n = 100, n = 500, n = 1000 etc. as well? |
Closes #1984
Implementation
MixtureModel
Truncated
Checkpoints
cdf(::Skellam, ::Real)
#1986)Sanity checks
Speed
For mixture model,
For truncated
Visual